package com.example.mylibrary.utils.example.utilsdemo;

public class Constant {

	/**
	 * 这个工程中的shared名字
	 */
	//env参数,为1是生产环境,为0是开发环境,默认为0
	public static final int ENV = 0;
	public static final String FLASH_CALENDAR_SHARED = "onehealth_shared";
	public static final String  DEFAULT_HOST_TEST = ":8080";//测试端口
	//测试api host
	public static String REQUEST_HOST = "http://182.254.158.144"+DEFAULT_HOST_TEST;
	//上线api host
//	public static String REQUEST_HOST = "http://182.254.158.144";
	// 附近医院
	public static String NEARBY_HOSPITAL = "http://api.chunyuyisheng.com/api/hospital/nearby?";
	// 附近药店
	public static String NEARBY_PHARMACYL = "http://api.go2map.com//engine/api/search/json?contenttype=utf-8&what=keyword:%E8%8D%AF%E5%BA%97&range=center:113.94,22.52:5000:0";
	
	// 单个新闻详情页面192.168.1.103/yeehealth/member/index.php/news_api/item/x
	public static String NEW = REQUEST_HOST+"/home/index.php/v1/news_api/item/";

	/* =========================================ccy============================ */
	// 附近医生list
	public static final String NEAR_DOCTOR_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/doctor_near";
	// 自助约诊
	public static final String SELEF_APPOINT_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/selef_appoint";
	// 快捷约诊
	public static final String FAST_APPOINT_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/fast_appoint";
	// 出诊预约
	public static final String APPOINT_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/appoint";
	// 首页数据
	public static final String YEEHEALTH_INDEX_DATA_URL = REQUEST_HOST+"/home/index.php/v1/home_api";
	// 医生详情
	public static final String DOCTORINFO_URL = REQUEST_HOST+"/home/index.php/v1/member_api/doctorInfo";
	// 评论列表
	public static final String COMMENTS_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/comments";
	// 我的约诊
	public static final String DIAGNOSISLIST_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/mylist";
	// 搜索医生
	public static final String SEARCH_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/search";
	// 删除医生
	public static final String DELETEVISIT_LIST_URL = REQUEST_HOST+"/home/index.php/v1/member_api/deletevisit";
	// 约诊下单
	public static final String UNDER_ORDERS_URL = REQUEST_HOST+"/home/index.php/v1/member_api/under_orders";
	// 发送sms给专员
	public static final String MSG_SEND_URL = REQUEST_HOST+"/home/index.php/v1/member_api/msg";
	// 订单详情
	public static final String ORDER_FORM_INFO_URL = REQUEST_HOST+"/home/index.php/v1/member_api/order_form_info";
	// 订单评论
	public static final String UPDATE_FORM_URL = REQUEST_HOST+"/home/index.php/v1/member_api/update_form";
	// 更新订单
	public static final String UPDATE_DOCTOR_FORM_URL = REQUEST_HOST+"/home/index.php/v1/doctor_api/update_form";
	// 已诊断评论
	public static final String CREATE_COMMENTS_URL = REQUEST_HOST+"/home/index.php/v1/member_api/create_comments";
	//支付回调服务端地址
	public static final String DO_NOTIFY_URL =REQUEST_HOST+"/home/index.php/v1/alipay/do_notify";

	/* =========================================tyy============================ */
	public static final String PUBLICURL = REQUEST_HOST+"/home/index.php/v1/";
	//注册第一步
	public static final String REGISTER_URL_ONE=REQUEST_HOST+"/home/index.php/v1_1/member_api/register_one";
	//注册第二步
	public static final String REGISTER_URL_TWO=REQUEST_HOST+"/home/index.php/v1_1/member_api/getregcode";
	//注册第三步
	public static final String REGISTER_URL_THREE=REQUEST_HOST+"/home/index.php/v1_1/member_api/register_two";
	//资讯轮播图http://182.254.158.144:8080/home/index.php/v1_1/news_api/member_slider
	public static final String IMAGE_URL=REQUEST_HOST+"/home/index.php/v1_1/news_api/member_slider";
	//新闻列表
	public static String NEWS = REQUEST_HOST+"/home/index.php/v1_1/news_api/member_news";
	//1.1登录
	public static String LOGINURL=REQUEST_HOST+"/home/index.php/v1_1/member_api/login";
	//忘记密码1
	public static String FORGETPWD_ONE=REQUEST_HOST+"/home/index.php/v1_1/member_api/forget_one";
	//忘记密码2
	public static String FORGETPWD_TWO=REQUEST_HOST+"/home/index.php/v1_1/member_api/forget_two";
	//修改密码
	public static String REVISEPWD=REQUEST_HOST+"/home/index.php/v1_1/member_api/setpwd";
	//下载更新
	public static String UPDATAURL=REQUEST_HOST+"/home/index.php/v1_1/home_api/app_update";
}
